const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    host: '0.0.0.0',
    port: 8080,
    proxy: {
      '/api/': {
        target: 'http://47.116.192.178:3000/api',
        changeOrigin: true, //是否跨域
			  secure: false, //关闭证书签名验证
        // pathRewrite: { "^/api": "" },
      }
    },
  },
})
